<template>
  <div>
    <el-popover :width="300" trigger="click">
      <template #reference>
        <m-notification style="cursor: pointer" :value="9999" :is-dot="false">
        </m-notification>
      </template>
      <template #default>
        <m-list :list="list" :actions="actions" @clickItem="clickItem"></m-list>
      </template>
    </el-popover>
  </div>
</template>

<script lang="ts" setup>
import { list, actions } from "./data";
let clickItem=(obj:Object)=>{
console.log(obj);

}
</script>
<style lang="scss" scoped></style>
